import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
const request = {
    shop_room_list(params, callback) {
        http.post(host_one + "/roomlist", params, callback)
    },
    add_shop_room(params, callback) {
        http.post(host_one + "/roomadd", params, callback)
    },
    edit_shop_room(params, callback) {
        http.post(host_one + "/roomupdate", params, callback)
    },
    delete_shop_room(params, callback) {
        http.post(host_one + "/roomdelete", params, callback)
    },
    detail_shop_room(params, callback) {
        http.post(host_one + "/roomdetail", params, callback)
    }
}
export default request;